home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
emulator
/
bsvc-1.000
/
bsvc-1
/
bsvc-1.0.4
/
src
/
UI
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-07-26
|
2KB
|
45 lines
###############################################################################
# Makefile for BSVC User Interface
#
# By: Bradford W. Mott
#
# December 5,1993
###############################################################################
###############################################################################
all: bsvc.tk bsvc
clean:
rm -f bsvc.tk bsvc
bsvc: Makefile
echo '#!/bin/sh' > bsvc
echo '# TCL_LIBRARY=......' >> bsvc
echo '# TK_LIBRARY=......' >> bsvc
echo '# export TCL_LIBRARY TK_LIBRARY' >> bsvc
echo 'ARGS=$$*' >> bsvc
echo 'export ARGS' >> bsvc
echo 'exec $(WISH) -f $(INSTALL_DIR)/UI/bsvc.tk' >> bsvc
chmod +x bsvc
bsvc.tk: Makefile
echo '#!$(WISH) -f' > bsvc.tk
echo 'set Program(InstallDir) $(INSTALL_DIR)' >> bsvc.tk
echo 'set Program(BitmapDir) $$Program(InstallDir)/UI/bitmaps' >> bsvc.tk
echo 'set Program(HelpDir) $$Program(InstallDir)/UI/help' >> bsvc.tk
echo 'set Program(LibDir) $$Program(InstallDir)/UI' >> bsvc.tk
echo 'set Program(WWWBrowser) "$(WWW_BROWSER)"' >> bsvc.tk
echo 'set Program(WWWHomePage) "$(WWW_HOME_PAGE)"' >> bsvc.tk
echo 'option readfile $$Program(InstallDir)/UI/bsvc.ad 40' >> bsvc.tk
echo 'source $$Program(InstallDir)/UI/main.tk' >> bsvc.tk
install: bsvc bsvc.tk
$(MKDIR) $(INSTALL_DIR)/UI
$(MKDIR) $(INSTALL_DIR)/UI/bitmaps
$(MKDIR) $(INSTALL_DIR)/UI/help
$(INSTALL) *.tk *.ad $(INSTALL_DIR)/UI
$(INSTALL) bitmaps/* $(INSTALL_DIR)/UI/bitmaps
$(INSTALL) help/* $(INSTALL_DIR)/UI/help
$(INSTALL) bsvc $(INSTALL_DIR)